package com.sh.cloudrender.infrastructure.repository;

import com.sh.cloudrender.application.dto.engine.EngineDTO;

import java.util.List;

public interface EngineRepo {

    boolean saveOrUpdate(String userId, EngineDTO engineDTO);

    List<EngineDTO> findByUserId(String userId);

    EngineDTO findByEngineId(String engineId);

    boolean deleteByEngineId(String engineId);

    boolean deleteByUserId(String userId);

}
